package com.wen.service;

import com.wen.pojo.Permission;

import java.util.List;

public interface PermissionService {
    List<Permission> findAll(int page, int size) throws Exception;

    Permission findById(int id) throws Exception;

    int deleteById(int id) throws Exception;

    int updateById(Permission permission) throws Exception;

    int add(Permission permission) throws Exception;
}
